package day02_0621;//文件夹名(软件包名)

//文件名
public class Test1 {
    //让本文件能运行
    public static void main(String[] args) {
        byte b=-128;
        byte b2=127; //[-128,127]
        System.out.println(b);//显示变量b的值
        System.out.println(b2);//显示变量b的值

        short s1=-32768;
        short s2=32767; //+ 是连接的作用
        System.out.println(s1 +","  + s2);

        int t1=-2147483648;
        int t2=2147483647;
        System.out.println(t1 +","  + t2);

        long g1=9223372036854775807L;
        //定义变量g2存储long类型的最小值。
        long g2=-9223372036854775808L;
        System.out.println(g1 +","  + g2);
    }
}
